#ifndef APPWINDOW_H
#define APPWINDOW_H

#include "../JuceLibraryCode/JuceHeader.h"
#include "luaGUI.h"

class AppWindow : public TopLevelWindow {
public:
    //==============================================================================
    AppWindow(int width, int height, const char* root);
    ~AppWindow();

	bool keyPressed(const KeyPress &key) {
		if(key.getKeyCode() == KeyPress::F4Key && key.getModifiers() == ModifierKeys::altModifier){
			this->exitModalState(0);
			return true;
		}
		return false;
	}
private:
//	LookAndFeel myLook;
    //==============================================================================
    JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AppWindow)
};

#endif